Static Image View
A custom androidx.appcompat.widget.AppCompatImageView for displaying static images, including raster formats (like PNG, JPG) and SVG vector graphics.
This view can load images from local file paths or remote URLs. For remote URLs, it utilizes DownloadFileTask2 to fetch and cache the image. It supports different ScaleType options for displaying the image, with FIT_XY as the default. SVG images are rendered using the SVGHelper
library and are typically scaled with FIT_CENTER.
It implements RevelControl for integration into the RevelDigital player system, allowing it to be managed as a content module, and DownloadFileTask2.OnCompleted to handle the completion of asynchronous image downloads.
See also
Functions
Link copied to clipboard
Gets an iterator over the configuration s for this control.
Link copied to clipboard
Gets the associated with this control, if any.
Link copied to clipboard
Gets the type of the underlying module or content associated with this control.
Link copied to clipboard
Initializes the control with its associated module context.
Link copied to clipboard
Checks if this control is configured to start its operation automatically after #initialize(Module) initialization.
Link copied to clipboard
Callback invoked when the DownloadFileTask2 (for downloading an image from a URL) completes.
Link copied to clipboard
Sets whether this control should start its operation automatically after #initialize(Module) initialization.